﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="TransactionLogView.aspx.cs" Inherits="TransactionLogView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:GridView ID="TransactionLogGirdView" CssClass="skineedgrid" runat="server" DataSourceID="TransactionLogDS"
        AutoGenerateColumns="false" Width="75%"  AllowSorting="true" 
        AllowPaging="true" PageSize="10">
        <PagerSettings Mode="NumericFirstLast" />
        <Columns>
            <asp:BoundField DataField="TransactionLogID" HeaderText="ID" Visible="False" />
            <asp:BoundField DataField="ModuleName" HeaderText="Module" SortExpression="ModuleName" />
            <asp:BoundField DataField="Action" HeaderText="Action" SortExpression="Action" />
            <asp:BoundField DataField="ColumnTitle" HeaderText="Field" SortExpression="ColumnTitle" />
            <asp:BoundField DataField="OldValue" HeaderText="Old Value" SortExpression="OldValue" />
            <asp:BoundField DataField="NewValue" HeaderText="New Value" SortExpression="NewValue" />
            <asp:BoundField DataField="Comment" HeaderText="Comment"  />
            <asp:BoundField DataField="ModifyDate" HeaderText="Modify Date" DataFormatString="{0:dd/MM/yyyy}"
                SortExpression="ModifyDate" />
        </Columns>
    </asp:GridView>
    <asp:ObjectDataSource ID="TransactionLogDS" runat="server" SortParameterName="sortBy" SelectMethod="GetAll" TypeName="DAL.DBManagers.TransactionLogsManager"></asp:ObjectDataSource>
</asp:Content>

